<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <link rel="apple-touch-icon" sizes="76x76" href="static/dependence/loginAndRegister/img/apple-icon.png">
    <link rel="icon" type="image/png" href="static/dependence/loginAndRegister/img/favicon.png">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>Login</title>
    <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
        name='viewport' />
    <script src="./static/dependence/vue/vue.js"></script>
    <script src="./static/dependence/reqwest/reqwest.js"></script>
    <!--     Fonts and icons     -->
    <link href="./static/dependence/loginAndRegister/css/googleapis.css" rel="stylesheet" />
    <link rel="stylesheet" href="./static/dependence/loginAndRegister/css/bootstrapcdn.css" />
    <!-- CSS Files -->
    <link href="static/dependence/loginAndRegister/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link href="static/dependence/loginAndRegister/assets/css/now-ui-kit.css?v=1.1.0" rel="stylesheet" />
    <!-- CSS Just for demo purpose, don't include it in your project -->
    <link href="static/dependence/loginAndRegister/assets/css/demo.css" rel="stylesheet" />
    <!-- Canonical SEO -->
    <link rel="canonical" href="" />
    <!--  Social tags      -->
    <meta name="keywords" content="">
    <meta name="description" content="">



</head>

<body class="login-page sidebar-collapse">
    <!-- Navbar -->
    <nav class="navbar navbar-expand-lg bg-primary fixed-top navbar-transparent " color-on-scroll="400">
        <div class="container">
            <div class="dropdown button-dropdown">
                <a href="#pablo" class="dropdown-toggle" id="navbarDropdown" data-toggle="dropdown">
                    <span class="button-bar"></span>
                    <span class="button-bar"></span>
                    <span class="button-bar"></span>
                </a>
                <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                    <a class="dropdown-header">Dropdown header</a>
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="#">Separated link</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="#">One more separated link</a>
                </div>
            </div>
            <div class="navbar-translate">
                <a class="navbar-brand" href="https://github.com/login/oauth/authorize?client_id=31a0014a7ff83d5c5ee2&scope=user" rel="tooltip" data-placement="bottom">
                    <img src="./static/index/image/icon/github.png" alt="GitHubLogo" style="height: 25px; width: 25px;padding: 5px">Login With GitHub
                </a>
                <button class="navbar-toggler navbar-toggler" type="button" data-toggle="collapse"
                    data-target="#navigation" aria-controls="navigation-index" aria-expanded="false"
                    aria-label="Toggle navigation">
                    <span class="navbar-toggler-bar bar1"></span>
                    <span class="navbar-toggler-bar bar2"></span>
                    <span class="navbar-toggler-bar bar3"></span>
                </button>
            </div>

        </div>
    </nav>
    <!-- End Navbar -->
    <div class="page-header" filter-color="orange">
        <div class="page-header-image" style="background-image:url(static/dependence/loginAndRegister/img/login.jpg)"></div>
        <div class="container">
            <div class="col-md-4 content-center">
                <div class="card card-login card-plain">
                    <!-- <form class="form" action="http://127.0.0.1:8000/register/" method="POST"> -->
                    <form class="form" action="" method=""></form>
                        <div class="header header-primary text-center">
                            <div class="logo-container">
                                <img src="static/dependence/loginAndRegister/img/now-logo.png" alt="">
                            </div>
                        </div>
                        <div id="app">
                            <div class="content">

                                <div class="input-group form-group-no-border input-lg">
                                    <span class="input-group-addon">
                                        <i class="now-ui-icons users_circle-08"></i>
                                    </span>
                                    <input type="text" class="form-control" name="username" v-model="username" placeholder="请输入用户名">
                                </div>

                                <div class="input-group form-group-no-border input-lg">
                                    <span class="input-group-addon">
                                        <i class="now-ui-icons text_caps-small"></i>
                                    </span>
                                    <input type="password" name="password" v-model="password" 
                                        placeholder="请输入密码" class="form-control" />
                                </div>
                            </div>
                            <div class="footer text-center">
                                <button type="submit" class="btn btn-primary btn-round btn-lg btn-block"  @click="getData()">登录</button>
                            </div>
                            <div class="pull-left">
                                <h6 @click="toRegister">
                                    <a href="javascript:;"  class="link">注册？</a>
                                </h6>
                            </div>
                            <div class="pull-right">
                                <h6>
                                    <a href="#pablo" class="link">帮助</a>
                                </h6>
                            </div>
                        </div>
                </div>

                </form>
            </div>
            <footer class="footer">
                <div class="container">
                    <div class="copyright">
                        &copy;2019-
                        <script>
                            document.write(new Date().getFullYear())
                        </script> Power By JunBao
                    </div>
                </div>
            </footer>
        </div>
    </div>

    </div>
    <script src="viewModel/login.js"></script>
</body>
<!--   Core JS Files   -->
<script src="static/dependence/loginAndRegister/assets/js/core/jquery.3.2.1.min.js" type="text/javascript"></script>
<script src="static/dependence/loginAndRegister/assets/js/core/popper.min.js" type="text/javascript"></script>
<script src="static/dependence/loginAndRegister/assets/js/core/bootstrap.min.js" type="text/javascript"></script>
<!--  Plugin for Switches, full documentation here: http://www.jque.re/plugins/version3/bootstrap.switch/ -->
<script src="static/dependence/loginAndRegister/assets/js/plugins/bootstrap-switch.js"></script>
<!--  Plugin for the Sliders, full documentation here: http://refreshless.com/nouislider/ -->
<script src="static/dependence/loginAndRegister/assets/js/plugins/nouislider.min.js" type="text/javascript"></script>
<!--  Plugin for the DatePicker, full documentation here: https://github.com/uxsolutions/bootstrap-datepicker -->
<script src="static/dependence/loginAndRegister/assets/js/plugins/bootstrap-datepicker.js" type="text/javascript"></script>
<!-- Share Library etc -->
<script src="static/dependence/loginAndRegister/assets/js/plugins/jquery.sharrre.js" type="text/javascript"></script>
<!-- Control Center for Now Ui Kit: parallax effects, scripts for the example pages etc -->
<script src="static/dependence/loginAndRegister/assets/js/now-ui-kit.js?v=1.1.0" type="text/javascript"></script>

</html>